﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Swork03_28.Domain.Dto
{
    public class TraceableDto
    {
        public int Id { get; set; }

        /// <summary>
        /// 商品编号
        /// </summary>
        public int Gid { get; set; }

        public string? Gname { get; set; }

        [StringLength(500)]
        public string? Images { get; set; }

        /// <summary>
        /// 检测报告图片
        /// </summary>
        [StringLength(1000)]
        public string? TestImgs { get; set; }


        [StringLength(100)]
        public string? Batch { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public int Shelflife { get; set; }

        /// <summary>
        /// 生产许可编号
        /// </summary>
        [StringLength(100)]
        public string? Number { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        [StringLength(100)]
        public string? ProduceEnterprise { get; set; }
        

        [StringLength(50)]
        public string? CreatePeople { get; set; }

        public DateTime CreateTime { get; set; }

        [StringLength(50)]
        public string? UpdateePeople { get; set; }

        public DateTime? UpdateTime { get; set; }
    }
}
